//
//  ZJRecorder.h
//  SoundRecording
//
//  Created by zhengju on 2017/11/29.
//  Copyright © 2017年 郑俱. All rights reserved.
//录音机

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

@protocol ZJRecorderDelegate<NSObject>

@end

@interface ZJRecorder : NSObject
@property(strong,nonatomic) AVAudioRecorder * recorder;
@property(weak,nonatomic) id<ZJRecorderDelegate> delegate;
+(instancetype)shareRecorder;

- (void)recorderStart;
- (void)recorderPause;
- (void)recorderStop;

/**
 传入文件路径
 */
- (void)recorderSetPath:(NSString *)urlPath;

@end
